<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>Pagina Personale</title>
</h:head>
<h:body >
	<p:toolbar>
		<p:toolbarGroup>
			<h:form>
				<p:splitButton value="...">
					<p:menuitem value="Modifica Dati" url="modificaDati.xhtml" />
					<p:menuitem value="Crea Pacchetti Viaggio" url="creaPacchettoViaggio.xhtml"/>
					<p:menuitem value="Visualizza Pacchetti Viaggio" url="visualizzaPacchetti.xhtml" /> 
				</p:splitButton>
			</h:form>
		</p:toolbarGroup>
		<p:toolbarGroup align="right">
			<h:form>
				<p:commandButton action="#{logoutBean.logout()}" value="Logout" />
			</h:form>	
		</p:toolbarGroup>
	</p:toolbar>

	
	<p:panel header="Ciao #{impiegatoBean.nome}"> 
	<h1>Benvenuto nella tua pagina personale!</h1>
	<p:dataList value="Dati Personali"  itemType="circle" >  
    Nome: #{impiegatoBean.nome} <br/>
    </p:dataList>
    <p:dataList value="Dati Personali"  itemType="circle">  
    Cognome: #{impiegatoBean.cognome}<br/>
    </p:dataList>
    <p:dataList value="Dati Personali"  itemType="circle">     
    Codice Persona : #{impiegatoBean.codPersona}<br/>
    </p:dataList>
	</p:panel> 
	

</h:body>
</html>